home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
crcset11.zip
/
VIRUSCRC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-11-16
|
637b
|
38 lines
/*
VIRUSCRC.H
Kevin Dean
Fairview Mall P.O. Box 55074
1800 Sheppard Avenue East
Willowdale, Ontario
CANADA M2J 5B9
CompuServe ID: 76336,3114
November 16, 1990
This is the interface to the anti-virus CRC check in VALIDCRC.C and
VIRUSDAT.C.
This code is public domain.
*/
typedef
unsigned long crc32_t;
union filecrc
{
char searchstr[8]; /* String to search for. */
struct
{
crc32_t polynomial; /* Polynomial for this file. */
crc32_t crc; /* Calculated CRC for this file. */
} x;
};
extern const union filecrc _viruscrc;
int isvalidcrc(const char *progname);